The HDF_VD_NATTRS function returns the number of attributes associated with the specified VData or VData/field pair.
Result = HDF_VD_NATTRS( VData, FieldID )
Returns the number of attributes if successful. Otherwise, –1 is returned.
The VData handle returned by a previous call to HDF_VD_ATTACH.
A zero-based index specifying the field, or a string containing the name of the field, within the VData whose attributes are to be counted. Setting Index to –1 specifies that attributes attached to the VData itself are to be counted.
None
For an example using this routine, see the documentation for HDF_VD_ATTRSET.
5.5 |
Introduced |
HDF_VD_ATTRFIND, HDF_VD_ATTRINFO, HDF_VD_ATTRSET, HDF_VD_ISATTR